@import './theme';
#banner {
  position: relative;
  background-image: url('/static/images/headerbg.jpg');
  width: 100%;
  height: 38rem;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  overflow: hidden;
}
.mock-left,
.mock-right {
  background: #f8f8f8;
  width: 101%;
  position: absolute;
  height: 8rem;
  bottom: -0.8rem;
}
.mock-left {
  right: 48%;
  transform: rotate(6deg);
}
.mock-right {
  left: 48%;
  transform: rotate(-6deg);
}
.userinfo {
  position: relative;
  max-width: 80rem;
  padding: 0 0.2rem;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  .user-box {
    .user-slogan {
      display: block;
      margin: 1rem auto;
      width: 40%;
      font-size: 0.97rem;
      color: #eaeadf;
      background: rgba(0, 0, 0, 0.66);
      padding: 1.4rem 0.3rem;
      letter-spacing: 0.2rem;
      line-height: 0.6rem;
    }
  }
  .user-contact {
    width: 40%;
    margin: 0 auto;
    .icons {
      display: flex;
      align-items: center;
      justify-content: center;
      .icon-item {
        width: 2rem;
        height: 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 100%;
        background: #fff;
        font-size: 0.16rem;
        color: #333333;
        margin: 0 0.6rem;
        svg {
          width: 0.96rem;
          height: 0.96rem;
        }
        &:hover {
          color: @theme-color;
          cursor: pointer;
        }
      }
    }
  }
}
#main {
  max-width: 50rem;
  padding: 0 0.2rem;
  margin-left: auto;
  margin-right: auto;
}
.hots {
  margin: 3rem 0;
  width: 100%;
  height: auto;
}
.home-block-title {
  color: #757575;
  text-align: left;
  font-size: 1rem;
  font-weight: 400;
  padding-bottom: 0.72rem;
  border-bottom: 0.12rem dashed #ececec;
  margin: 1.5rem 0;
}
.error-img {
  width: 100%;
  height: 100%;
}
.hot-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  .hot-item {
    width: 31.9%;
    height: 9.5rem;
    overflow: hidden;
    position: relative;
    border-radius: 0.4rem;
    cursor: pointer;
    &:hover {
      .hot-postion {
        opacity: 1;
      }
    }
    .hot-img {
      width: 100%;
      height: 100%;
      img {
        width: 100%;
        height: 100%;
      }
    }
  }
  .hot-postion {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: fade(@theme-color, 70%);
    opacity: 0;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.5s;
  }
}
.recent {
  margin-top: 3rem;
  margin-bottom: 2rem;
}
.recent-list {
  width: 100%;
  height: auto;
}
.recent-item {
  position: relative;
  display: flex;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 0.02rem solid rgba(0, 0, 0, 0.068);
  .recent-postion {
    position: absolute;
    left: 0;
    top: 0;
  }
  .recent-cover {
    width: 20%;
    img {
      padding: 0.15rem;
      border: 0.1rem solid #dadada;
      width: 5rem;
      height: 5rem;
      border-radius: 100%;
      overflow: hidden;
    }
  }
  .recent-content {
    width: 80%;
    .recent-tit {
      font-weight: 600;
      font-size: 1.15rem;
      color: @title;
      display: flex;
      justify-content: space-between;
      .recent-title {
        transition: all 0.3s;
        max-width: 27rem;
        &:hover {
          color: @hover;
          cursor: pointer;
        }
      }
      .recent-time {
        font-size: 0.85rem;
        color: #989898;
        text-align: right;
        .anticon {
          margin-right: 0.4rem;
        }
      }
    }
    .recent-text {
      margin-top: 0.8rem;
      color: @text;
    }
  }
  .recent-more {
    position: absolute;
    right: 0.5rem;
    bottom: 0.3rem;
    font-size: 2rem;
    color: @hover;
    font-weight: 1200;
    cursor: pointer;
  }
}
.page {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 5rem;
  font-size: 1.5em;
  color: #858484;
  font-family: miranafont, 'Hiragino Sans GB', STXihei, 'Microsoft YaHei', SimSun, sans-serif;
  > div {
    cursor: pointer;
    &:hover {
      color: @hover;
    }
  }
}
